button {
  animation: throttle 0.5s step-end forwards;
}

button:active {
  animation: none;
}

@keyframes throttle {
  from {
    pointer-events: none;
  }

  to {
    pointer-events: all;
  }
}

.app-container {
  padding: 0;
  display: grid;
  grid-template-columns: auto 325px;
  grid-template-rows: 52px auto;
  height: calc(100vh - 85px);

  .topToolbar {
    height: 52px;
    background: #FBFBFB;
    box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: space-between;
    overflow: auto;

    &::-webkit-scrollbar,
    .ToolBar::-webkit-scrollbar {
      width: 0px; //对垂直方向滚动条
      height: 0px; //对水平方向滚动条
    }

    .searchBar {
      display: flex;
      height: 36px;
      gap: 10px;

      .el-date-editor,
      .searchBox {

        ::v-deep .el-input-group__append {
          background: #1890FF;
          color: #fff;
        }

        ::v-deep .el-input__inner {
          border-radius: 4px 0px 0px 4px;
        }

        ::v-deep .el-button--medium {
          padding: 5px 10px;
          border-radius: 0 4px 4px 0;
        }
      }
    }

    .ActionBar {
      overflow: overlay;
      display: flex;
      flex-wrap: nowrap;
      min-width: 120px;
      height: 100%;

      button {
        padding: 8px;
        color: #1890FF;
        box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.16);
        border-radius: 4px;
        margin: auto 5px;
        font-size: 12px;
      }



      &::-webkit-scrollbar,
      .ToolBar::-webkit-scrollbar {
        width: 0px; //对垂直方向滚动条
        height: 0px; //对水平方向滚动条
      }
    }

  }

  .main {
    width: 100%;
    padding: 15px;
    overflow: auto;
    position: relative;

    .main2 {
      background: #ffffff;
      box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.16);
      border-radius: 4px;
      padding: 10px;
      height: 100%;

      .ToolBar {
        display: flex;
        height: 36px;
        padding: 0 15px;
        overflow: auto;
        margin-top: 5px;
        justify-content: space-between;
        overflow: hidden;
        margin-bottom: -5px;

        .modNameBox {
          display: flex;
          font-size: 16px;
          font-family: Microsoft YaHei-Bold, Microsoft YaHei;
          font-weight: bold;
          color: #606266;
          line-height: 16px;
        }

        // .ToolBarBut {
        //   button {
        //     padding: 10px 10px;
        //     color: #1890FF;
        //   }

        //   .SelectedBut {
        //     background: #1890ff;
        //     color: #ffffff;
        //   }
        // }

        ::v-deep.el-radio-button--medium .el-radio-button__inner {
          padding: 8px 15px;
        }

        .svg-icon {
          margin-right: 5px;
        }

      }

      .mainContent {
        height: calc(100% - 46px);
        margin-top: 6px;
        position: relative;

        // ::v-deep.el-tabs__item {
        //   // color: #909399;
        // }
        ::v-deep.el-table--border .el-table__cell {
          border-right: none;
        }

        ::v-deep.el-table {
          // height: calc(100% - 74px);
          height: calc(100% - 0px);
          border: none;

          &::before {
            height: 0px;
          }
        }

        ::v-deep.el-table td.el-table__cell div {
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
        }

        ::v-deep.el-table .el-table__cell {
          padding: 5px 0;
        }

        ::v-deep.el-table__body-wrapper {
          height: calc(100% - 67px);
          overflow: auto;

          &::-webkit-scrollbar {
            width: 5px;
            height: 5px;
          }

          &::-webkit-scrollbar-thumb {
            border-radius: 10px;
            background-color: #DCDFE6;
          }
        }

        ::v-deep.el-table--border::after {
          width: 0px;
        }

        .mapBox {
          width: 100%;
          height: 100%;
          padding-top: 10px;
          overflow: hidden;
        }
      }

      .ImgLumpBox {
        display: flex;
        flex-wrap: wrap;
        padding: 10px;
        align-content: flex-start;
        gap: 10px;
        height: calc(100% - 58px);

        .ImgLump {
          width: 215px;
          height: 225px;
          text-align: center;
          // margin: 0 10px 10px 0;
          box-shadow: 0px 1px 3px 1px rgb(0 0 0 / 16%);
          border-radius: 4px;
          padding: 2px;
        }

        span {
          font-size: 14px;
          color: #606266;
          line-height: 40px;
          display: block;
          height: 40px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }

        .triangle {
          width: 0;
          height: 0;
          border: 21px solid #304156cc;
          border-left-color: transparent;
          border-bottom-color: transparent;
          position: relative;
          top: -235px;
          left: 175px;
          border-radius: 4px;

          p {
            font-size: 14px;
            color: #ffffff;
            margin-top: -17px;
            margin-left: 4px;
          }
        }

        .NoImage {
          width: 210px;
          height: 185px;
          background: rgba(191, 203, 217, 0.5);
          display: block;
          line-height: 185px;
          font-size: 20px;
          color: #606266;
          border-radius: 4px;
          margin: auto;
        }

        .clickLump {
          border: 1px solid #1890ff;

          .triangle {
            border-top-color: #1890ffcc;
            border-right-color: #1890ffcc;
          }
        }
      }
      .ImgLumpBox::-webkit-scrollbar {
        width: 5px;
        height: 5px;
      }

      .ImgLumpBox::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: #dcdfe6;
      }
    }
  }

  .rightSidebar {
    //grid-column: 2/3;
    grid-row: 1/3;
    height: 100%;
    background: #fafafa;
    box-shadow: 0px 1px 6px 1px rgba(0, 0, 0, 0.16);
    display: grid;
    grid-template-rows: 35% 65%;  // 指定网格的行高，分为两行，每行高度为父元素高度的百分之五十(一页)。 100% 那就上下两页了
    overflow: auto;
    border-radius: 8px 0px 0px 8px;

    .el-tab-pane {
      margin-top: 5px;
      padding: 5px;
      width: 100%;
      height: calc(100% - 5px);
      position: absolute;
      // border: 1px solid #dcdfe6;
      overflow: auto;
    }

    .rightSidebarTop {

      .el-tab-pane {
        padding: 5px;
      }

      ::v-deep.el-card__header {
        padding: 10px 18px;
        line-height: 20px;
        border-bottom: 1px solid #dcdfe6;
        background-color: #FAFAFA;
      }

      .content {
        &::-webkit-scrollbar {
          width: 5px;
          height: 5px;
        }

        &::-webkit-scrollbar-thumb {
          border-radius: 10px;
          background-color: #DCDFE6;
        }
      }
    }

    .rightSidebarBottom {
      padding: 5px;
      padding-top: 0;

      .List {
        background: #ffffff;
        border-radius: 4px;
        padding: 5px;
        // padding-top: 20px;
        border: 1px solid #dcdfe6;
        // height: calc(100% - 30px);
        height: 100%;
        overflow: auto;

        form {
          margin-top: 20px;
        }

        .divCard {
          height: 60px;
          background: #ffffff;
          border-radius: 4px;
          border: 1px solid #dcdfe6;
          margin-bottom: 5px;
          display: grid;
          grid-template-columns: 50px auto 40px;
          align-items: center;
          padding: 5px;

          p {
            font-size: 12px;
            font-family: Microsoft YaHei-Regular, Microsoft YaHei;
            font-weight: 400;
            color: #303133;
            margin: 5px 0;
          }
        }

        &::-webkit-scrollbar {
          width: 5px;
          height: 5px;
        }

        &::-webkit-scrollbar-thumb {
          border-radius: 10px;
          background-color: #DCDFE6;
        }

        .detailendBut {
          color: #1890ff;
          border-radius: 4px;
          box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.16);
          padding: 5px 12px;
        }
      }
    }

    ::v-deep.el-card__body {
      padding: 5px;
      padding-bottom: 0;
      height: calc(100% - 43px);
      background: #FAFAFA;
    }
  }

  .box-card {
    background-color: transparent;
    border: none;
    box-shadow: none;

  }


  .box-tabs {
    //background-color: transparent;
    //border: none;
    //box-shadow: none;
    .el-tab-pane {
      padding: 0;
    }

    // ::v-deep.el-tabs__content {
    //   height: calc(100% - 40px);
    // }

    ::v-deep.el-tabs__header {
      margin: 0;
    }

    ::v-deep.el-tabs__nav-scroll {
      padding: 0px 40px;
    }

    // ::v-deep .el-tabs__item.is-top:nth-child(2),
    // ::v-deep .el-tabs__item.is-top:last-child {
    //   padding: 0 20px;
    // }

    ::v-deep.el-tabs__content {
      height: calc(100% - 40px);
    }
  }
}

.dialogStyle {
  //overflow: auto;
  ::v-deep.el-dialog {
    margin-bottom: 6vh;
  }

  ::v-deep.el-dialog__header {
    line-height: 40px;
    border-bottom: 1px solid #DCDFE6;
    padding: 0;
    padding-left: 20px;
  }

  ::v-deep.el-dialog__body {
    padding: 20px 30px;
    padding-bottom: 30px;
    padding-right: 60px;

    .infoTableName {
      font-size: 16px;
      font-family: Microsoft YaHei-Bold, Microsoft YaHei;
      font-weight: bold;
      color: #606266;
      line-height: 65px;
    }

    form {
      // margin-top: 20px;
    }

    .ActionBut {
      text-align: right;
      margin-top: 10px;
    }

  }

  ::v-deep.el-dialog__title {
    font-size: 14px;
    font-family: Microsoft YaHei-Regular, Microsoft YaHei;
    font-weight: 400;
    color: #606266;

    &::before {
      content: "";
      padding: 0px 2px;
      background: #1890FF;
      margin-right: 5px;
      border-radius: 2px;
    }
  }

  ::v-deep.el-dialog__headerbtn {
    top: 12px;
  }

  .el-date-editor{
    width: 100%;
  }

}

.noData {
  // height: calc(100% - 46px);
  height: 100%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  img {
    width: 70%;
  }
}

.cardTitle {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  margin-left: 20px;
  font-size: 14px;
}

.lump {
  width: 4px;
  height: 16px;
  background: #1890ff;
  border-radius: 2px;
  margin-right: 5px;
}

.lumpText {
  font-size: 14px;
  &::before {
    content: "";
    padding: 0px 2px;
    background: #1890FF;
    margin-right: 5px;
    border-radius: 2px;
    position: relative;
    display: inline-block;
    height: 14px;
    width: 1px;
    top: 2px;
  }
}

.buttons_Combine {
  display: flex;
  justify-content: center;
}
